package com.livepan.server.utils;

public class ConstUtil {
    static final String secretId = "AKIDYvEPabi7dSBi5FHBya3LRQEdw3ygRalR";
    static final String secretKey = "gAWhkdLreLqALQeS8gtysb7cJxUs6wpZ";
    //知识点的通关的顺序
    public static final int[] knowIdOrder = new int[]{1, 2, 3};
    //判断是否掌握的标准
    public static final double accuracy = 0.8;

    public static final int submissionLimit = 50;

    public static final int problemLimit = 50;

    public static final int contestLimit = 50;


    public static class contestStatus {
        public static final short Pending = 0;
        public static final short Running = 1;
        public static final short Ending = 2;
    }

    public static final String cdnUrl = "http://livedream.livepan.top/";

    public static class JudgeStatus {
        public static final Integer
                Pending = 0,
                Judging = 1,
                Accepted = 2,
                PresentationError = 3,
                WrongAnswer = 4,
                RuntimeError = 5,
                TimeLimitExceeded = 6,
                MemoryLimitExceeded = 7,
                OutputLimitExceeded = 8,
                CompileError = 9,
                SystemError = 10;
    }

    public static class ContestRecordType {
        public static final Integer
                OpenContestRecord = 1,
                CloseContestRecord = 2;
    }

    public static class LoginRecordType {
        public static final Integer
                LoginRecord = 1,
                LogoutRecord = 2,
                RegisterRecord = 3;
    }
}
